<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
</head>
<body>
<script>
function feibo(num){
/*	if(num<=2){
		return 1;
	}else{
		return feibo(num-1)+feibo(num-2);
	}*/
	return num<=2 ? 1 : arguments.callee(num-1)+arguments.callee(num-2);
}
alert(feibo(8));
</script>
</body>
</html>
